package com.moyu.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moyu.user.domain.permission.Permission;
import com.moyu.user.domain.permission.dto.PermissionQueryDTO;
import com.moyu.user.domain.permission.vo.PermissionListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 权限数据库访问层
 *
 * @Author 赵彦博
 * @Date 2025/3/25 18:28
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
    List<PermissionListVO> selectPermissionList(PermissionQueryDTO permissionQueryDTO);

    int deletePermissionById(Long permissionId);
}
